home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat5 / ucontext.z / ucontext
Encoding:
Text File  |  2002-10-03  |  2.6 KB  |  67 lines

  1.  
  2.  
  3.  
  4. uuuuccccoooonnnntttteeeexxxxtttt((((5555))))                                                        uuuuccccoooonnnntttteeeexxxxtttt((((5555))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      _uuuu_cccc_oooo_nnnn_tttt_eeee_xxxx_tttt - user context
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_uuuu_cccc_oooo_nnnn_tttt_eeee_xxxx_tttt_...._hhhh_>>>>
  13.  
  14. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.      The _uuuu_cccc_oooo_nnnn_tttt_eeee_xxxx_tttt structure defines the context of a thread of control within
  16.      an executing process.
  17.  
  18.      This structure includes at least the following members:
  19.  
  20.      ucontext_t *uc_link
  21.      sigset_t    uc_sigmask
  22.      stack_t     uc_stack
  23.      mcontext_t  uc_mcontext
  24.  
  25.      _uuuu_cccc______llll_iiii_nnnn_kkkk is a pointer to the context that is to be resumed when this
  26.      context returns.  If _uuuu_cccc______llll_iiii_nnnn_kkkk is equal to 0, then this context is the main
  27.      context, and the process exits when this context returns.  The _uuuu_cccc______llll_iiii_nnnn_kkkk
  28.      field is only meaningful for contexts created using _mmmm_aaaa_kkkk_eeee_cccc_oooo_nnnn_tttt_eeee_xxxx_tttt.
  29.  
  30.      _uuuu_cccc______ssss_iiii_gggg_mmmm_aaaa_ssss_kkkk defines the set of signals that are blocked when this context
  31.      is active (see _ssss_iiii_gggg_pppp_rrrr_oooo_cccc_mmmm_aaaa_ssss_kkkk(2)).
  32.  
  33.      _uuuu_cccc______ssss_tttt_aaaa_cccc_kkkk defines the stack used by this context (see _ssss_iiii_gggg_aaaa_llll_tttt_ssss_tttt_aaaa_cccc_kkkk(2)).
  34.  
  35.      _uuuu_cccc______mmmm_cccc_oooo_nnnn_tttt_eeee_xxxx_tttt contains the saved set of machine registers and any
  36.      implementation specific context data.  Portable applications should not
  37.      modify or access _uuuu_cccc______mmmm_cccc_oooo_nnnn_tttt_eeee_xxxx_tttt.
  38.  
  39. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  40.      getcontext(2), sigaction(2), sigaltstack(2), sigprocmask(2),
  41.      makecontext(3C)
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.